<?php
/**
 * Description
 *
 * PHP version 7
 *
 * @category Custom
 * @package  Custom
 * @author   ryu <mo5467@126.com>
 * @date     2020-04-23 23:54:25
 * @lastTime 2020-05-01 23:05:22
 * @license  https://opensource.org/licenses/MIT MIT License
 * @link     none
 */

namespace Design\Structural\Adapter;

class PaperBook implements Book
{

    private $page = 0;


    public function open()
    {
        $this->page = 1;

    }//end open()


    public function turnPage()
    {
        $this->page++;

    }//end turnPage()


    public function getPage(): int
    {
        return $this->page;

    }//end getPage()


}//end class
